const NODE_ENV = 'test'; // dev:开发环境 | test:测试环境

module.exports = {
    devServer: {
        port: 8081,
        proxy: {
            '/api': {
                target: 'http://202.107.190.8:10118',
                changeOrigin: true,
                pathRewrite: {
                    '/api': ''
                }
            }
        }
    },
	chainWebpack: (config) => {},
	configureWebpack: config => {
		let plugins = [
			//new BundleAnalyzerPlugin()
		]
		
		config.plugins = [...config.plugins, ...plugins]
		
		
		config["externals"] =  {
			'axios' : 'axios',
			'moment':'moment',
			'vConsole':'VConsole'
		}
	}
}